package com.cch.cooperation.api.bookkeepping.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;


/**
 * 收支添加请求参数
 *
 * @author cch
 */
@Data
@ApiModel("收支添加请求参数（描述）")
public class BookkeepingDescriptionAddDTO {

    @ApiModelProperty("空间id")
    @NotEmpty(message = "空间id不能为空")
    private String zoneId;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty(value = "用户id", hidden = true)
    private String userId;

}
